﻿using System;
using System.Collections.ObjectModel;
using CI.Models;
using CI.ViewModels;

namespace CI.Services
{
    public class TestOwnerService : IOwnerService
    {
        public TestOwnerService()
        {
            Corporations = new ObservableCollection<ICorporation>();
            Characters = new ObservableCollection<ICharacter>();

            var sine = new Character(1796261374, "SIne Archus");
            var baseMiner = new Character(864704914, "Baseminer");

            var asgard = new Corporation(-1, "Asgard Inc.");
            var j5 = new Johnny5Character();

            asgard.Members.Add(sine);
            asgard.Members.Add(baseMiner);
            asgard.Members.Add(j5);
            Corporations.Add(asgard);
            Characters.Add(j5);
            Characters.Add(sine);
            Characters.Add(baseMiner);
        }

        public ObservableCollection<ICorporation> Corporations { get; private set; }
        public ObservableCollection<ICharacter> Characters { get; private set; }

        public void AddCorporation(int id, string name)
        {
            throw new NotImplementedException();
        }

        public void AddCharacter(int id, string name)
        {
            throw new NotImplementedException();
        }
    }
}